package rmi.attempt1.client;

import rmi.attempt1.net.*;

public class ClientChatEventListener implements ChatEventListener {
	public ClientChatEventListener(String username) {
		this.user = username;
	}
	private String user;
	public void chatMessage(ChatEvent event) {
		System.out.println("<Client:"+this.user+"> recieved message ["+event.origin+"]["+event.message+"]");
	}
}
